﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using AcctrueWMS.Foundation;
using AcctrueWMS.Foundation.Data;

namespace AcctrueWMS.Foundation.Render
{
    public interface IModelRender
    {
        IDataModelContext Context
        {
            get;
        }
        void Render(DataModel model, ModelTemplate template, TextWriter tw);
        void Render(string tplStr, TextWriter tw);
        void Render(string tplStr, TextWriter tw, DataModel model);
        string Render(string tplStr);
    }
}
